<h1>Admin页面</h1>

<p>后台返回结果</p>

<p *ngIf="!list || list.length === 0">{{msg}}</p>

<table *ngIf="list && list.length > 0">
  <tr>
    <th>id</th>
    <th>用户名</th>
    <th>是否可用</th>
    <th>创建时间</th>
    <th>更新时间</th>
    <th>是否删除</th>
  </tr>
  <tr *ngFor="let item of list">
    <td>{{item['id']}}</td>
    <td>{{item['username']}}</td>
    <td>{{item['enable']}}</td>
    <td>{{item['createTime'] | date:'yyyy-MM-dd HH:mm:ss'}}</td>
    <td>{{item['updateTime'] | date:'yyyy-MM-dd HH:mm:ss'}}</td>
    <td>{{item['deleteFlag']}}</td>
  </tr>
</table>
